﻿using System.Runtime.Serialization;

namespace SharedObjects
{
	[DataContract] 
	[ReferencedBy(typeof(Agent))]
	[ReferencedBy(typeof(ComputerSystem))]
	public class Corporation : EntityBase
	{
		[DataMember] public string Name { get; set; }
		[DataMember] public bool IsDefault { get; set; }
		[DataMember] public Tld TopLevelDomain { get; set; }
		public int DifficultyModifier { get; set; } //this is a field for controlling the content generation.

		public override string ToString()
		{
			return string.Format("{0} {1}", Name, TopLevelDomain);
		}
	}
}
